package com.sinodata.ns.cell;

import jt.classic.system.AbstractIBigObject;

import java.util.Map;


/**
 * 设计单元标段内容
 *
 * @author mido
 *
 */
public class CellBDInfo extends AbstractIBigObject {
    private CellInfo cell;
    private String lon;
    private String lat;

    public CellBDInfo(CellInfo cell) {
        this.cell = cell;
    }

    public CellInfo icell() {
        return this.cell;
    }
    
    public String ilon(){
    	return this.lon;
    }
    
    public String ilat(){
    	return this.lat;
    }

    public void reload(Map map) {
        if (map != null) {
        	this.info = map;
            this.bigoid = (String) map.get("CB_ID");
            this.bigoname = (String) map.get("CB_NAME");
            this.info.put("CELLINFO", this.cell.getResource());
            this.lat = (String)this.info.get("CB_LAT");
            this.lon = (String)this.info.get("CB_LON");
        }
    }
}
